<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
    <title>技能竞赛平台</title>


    <!--<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">-->
    <link href="/bm/Public/css/Mi.css" type="text/css" rel="stylesheet" media="screen,projection"/>
    <link href="/bm/Public/css/materialize.min.css" type="text/css" rel="stylesheet" media="screen,projection"/>
    <link href="/bm/Public/css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
    <link href="/bm/Public/css/login.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>


<body>
<div class="container">
    <div class="row">
        <div class="row" align="center">
            <img class="z-depth-2" src="/bm/Public/images/logo3.jpg" width="18%"
                 style="margin-top: 20px;border-radius:50%">
            <h3><a href="<?php echo U('Index/index');?>" style="color: white;">比赛报名系统</a></h3>
        </div>
        <div class="col s12 m8 l8 offset-m2 offset-l2">
            <div class="card z-depth-3">
                <br>
                <form action="<?php echo U('Login/login');?>" method="post">
                    <div class="row">
                        <div class="col s10 m10 l8 offset-s1 offset-m1 offset-l2">
                            <div class="input-field col s12">

                                <input id="username" name="username" type="text" class="validate">
                                <label for="username">帐号</label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col s10 m10 l8 offset-s1 offset-m1 offset-l2">
                            <div class="input-field col s12">
                                <input id="password" name="password" type="password" class="validate">
                                <label for="password">密码</label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col s10 m10 l8 offset-s1 offset-m1 offset-l2">
                            <div class="input-field col s12">
                                <input id="yzm" type="text" name="yzm" class="validate">
                                <label for="yzm">验证码</label>
                            </div>
                            <div class="row" align="center">
                                <img class="col s8 m6 l6 offset-s2 offset-m3 offset-l3" id="yimg"
                                     src="<?php echo U('Home/Login/ver',array());?>">
                                <a href="#" id="ybtn" class="col s8 m6 l6 offset-s2 offset-m3 offset-l3">验证码看不清</a>
                            </div>

                        </div>
                    </div>
                    <div class="row" align="center">
                        <input class="waves-effect waves-light btn blue" type="submit" value="登录">
                    </div>
                    <br>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>
<footer style="color: white">
    © 2016 广西水利电力职业技术学院&emsp;敏捷软件协会&emsp;<a href="<?php echo U('Admin/Login/index');?>" class="yellow-text">后台管理</a>
</footer>


<!--  Scripts-->
<script src="/bm/Public/js/jquery.js"></script>
<script src="/bm/Public/js/materialize.js"></script>
<script src="/bm/Public/js/init.js"></script>
<script type="text/javascript">
    $("#ybtn").click(function () {
        var src = $("#yimg").attr("src");
        $("#yimg").attr("src", src);
    });
</script>
</body>
</html>